package com.fram.mapper;

import java.util.List;

import com.fram.bean.api.keyword.KeywordResponse;
import com.fram.entity.Keyword;

public interface KeywordMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Keyword record);

    int insertSelective(Keyword record);

    Keyword selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Keyword record);

    int updateByPrimaryKey(Keyword record);
    //
    KeywordResponse listForApi(Keyword record);
    
    List<Keyword> listForAdmin(Keyword request);
}